#!/usr/bin/env bash

[ ! -f /etc/yum.repos.d/lan.repo ] && touch /etc/yum.repos.d/lan.repo

cat > /etc/yum.repos.d/lan.repo <<EOF
[lanrepo]
name=Internal Yum Server
baseurl=http://192.168.20.160/x86_64
enabled=1
gpgcheck=0
EOF
